package com.jiashihui.schema_lgorithm.schema.memento;

/**
 * @author jiashihui
 * @describe: 存储备忘录的类
 * @date 2019/03/15
 */
public class Storage {
    /* 备忘录类 */
    private Memento memento;

    public Storage(Memento memento) {
        this.memento = memento;
    }

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}
